html, body {
    background-color: #F7FAF8;
}

/** 左侧折叠菜单  **/
.layui-layout-admin .layui-side {
    background-color: #fff;
}

.layui-box-con {
    height: 100%;
}

.layui-left-con {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 270px;
    z-index: 2;
}

.layui-right-con {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    padding-left: 306px;
    box-sizing: border-box;
}

.layui-left-con > div, .layui-right-con > div {
    height: 100%;
    overflow: hidden;
}

.layui-left-box, .layui-right-box {
    margin-right: -20px;
    height: 100%;
    overflow-y: scroll;
}


/* 主体 */

.layui-layout-admin .layui-body {
    bottom: 0;
    overflow: hidden;
    background: #F7FAF8;
    left: 240px;
}

.layui-body {
    left: 0;
}

.layui-layout-left-color .layui-nav-item a.current {
    background-color: rgba(28, 147, 153, 0.1);
    color: #1C9399;
}

.layui-layout-left-color .layui-this:after, .layui-layout-left-color .layui-nav-bar {
    background-color: transparent;
}


/* 面包屑导航 */
.add-title {
    font-size: 16px;
    height: 25px;
    line-height: 25px;
}

.add-title img {
    vertical-align: -7px;
}


/*  */
.layui-table-view .layui-table {
    width: 100%;
}

.layui-table-view .layui-table td, .layui-table-view .layui-table th {
    padding: 0;
}

.layui-table-cell {
    height: 48px;
    line-height: 48px;
}

.layui-table td, .layui-table th, .layui-table-col-set, .layui-table-fixed-r, .layui-table-grid-down, .layui-table-header, .layui-table-page, .layui-table-tips-main, .layui-table-tool, .layui-table-total, .layui-table-view, .layui-table[lay-skin=line], .layui-table[lay-skin=row] {
    border: 1px solid #eee;
}

.layui-table, .layui-table-view {
    border-radius: 0 0 4px 4px;
    border: 0;
    margin: 0;
}

.layui-tab-title li {
    width: 110px;
    padding: 0;
    border: 1px solid #eee;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
    margin-right: 16px;
    height: 38px;
    background-color: #fff;
}


/* tab切换 */
.layui-tab-title, .layui-tab-title .layui-this:after {
    border-color: #eee;
}

.layui-tab-title .layui-this {
    color: #1C9399;
    border-color: #eee;
}

.layui-tab-title .layui-this:after {
    height: 40px;
    border: 0;
    border-bottom: 1px solid #fff;
    border-radius: 4px 4px 0 0;
}

.layui-table-col-set, .layui-table-fixed-r, .layui-table-grid-down, .layui-table-header, .layui-table-page, .layui-table-tips-main {
    border: none;
}

.layui-table-header tr th:first-child {
    border-top-left-radius: 4px;
}

.layui-table-header tr th:last-child {
    border-top-right-radius: 4px;
}

.layui-table th, .layui-table td {
    text-align: center;
    color: #333;
    border: 0;
    padding: 0 15px;
    line-height: 48px;
}

.layui-table td {
    border-bottom: 1px solid #eee;
}

.layui-table tbody tr:hover, .layui-table thead tr, .layui-table-click, .layui-table-header, .layui-table-hover, .layui-table-mend, .layui-table-patch, .layui-table-tool, .layui-table-total, .layui-table-total tr, .layui-table[lay-even] tr:nth-child(even) {
    background-color: transparent;
}

.layui-table-header th {
    background-color: rgba(28, 147, 153, 0.08);
    font-weight: 600;
}

.layui-table tr:nth-child(even) td {
    background-color: rgba(28, 147, 153, 0.08);
}

.layui-table-fixed-r .layui-table td:last-child {
    color: #1C9399;
}


/* 滚动条隐藏 */
.scroll-box {
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    bottom: 25px;
    overflow: hidden;
}

.scroll-box-con {
    padding: 20px;
    margin-right: -20px;
    height: 100%;
    overflow: hidden;
    overflow-y: scroll;
}

.scroll-box-bot {
    position: absolute;
    bottom: 115px;
}

.scroll-box-one {
    top: 75px;
    bottom: 115px;
}


/* 滚动条隐藏 */
.new-add-box {
    position: absolute;
    left: 25px;
    right: 25px;
    top: 77px;
    bottom: 25px;
    overflow: hidden;
}

.new-add-box-scroll, .add-box-scroll {
    height: 100%;
    margin-right: -20px;
    overflow: hidden;
    overflow-y: scroll;
}

/* .new-add-box-scroll > div{ margin: 25px; } */
.new-add-box-width {
    bottom: 115px;
}


/* /滚动条隐藏 */


/* 操作按钮样式 */
.table-list-btn {
    color: #eee;
}

.table-list-btn span {
    color: #1C9399;
    margin: 0 10px;
}


/* 表单 */
.layui-form-color .layui-form-checkbox[lay-skin=primary] span {
    padding-left: 0;
    padding-right: 15px;
    line-height: 18px;
    background: 0 0;
    color: #323232;
}

.layui-form-checked[lay-skin=primary] i {
    border-color: #1C9399 !important;
    background-color: #1C9399;
    color: #fff;
}

.form-input {
    width: 100%;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #757575;
    background-color: #fff;
    border-radius: 5px;
}

.form-select {
    width: 100%;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #757575;
    background-color: #fff;
    border-radius: 5px;
}


/* 操作图片 */
.add-btn-input p.left img {
    vertical-align: -1px;
    margin-right: 7px;
}

.layui-left-label-con {
    width: 150px;
}

.layui-right-label-con {
    padding: 0 0 0 198px;
    top: 12px;
    bottom: 12px;
    right: 12px;
}

.layui-left-con-bot {
    bottom: 92px;
}

.layui-right-con-bot {
    bottom: 104px;
}

.label-nav-con div {
    line-height: 60px;
}

.label-nav-con div img {
    vertical-align: -7px;
    margin: 0 10px 0 35px;
}

.label-nav-con li {
    padding-left: 33px;
    cursor: pointer;
}

.current {
    background-color: rgba(28, 147, 153, 0.1);
    color: #1C9399;
}


/* 用药管理-药物发放查看 */
.layui-right-con-two {
    padding-left: 0;
    width: 0;
    width: auto;
    left: 174px;
    right: 0;
    top: 0;
    bottom: 90px;
    border: 1px solid #00f;
}

.per-look-dl {
    display: flex;
    align-items: center;
    width: 900px;
}

.per-look-dl div, .per-look-dl p {
    overflow: hidden;
}

.per-look-dl img {
    width: 80px;
    height: 80px;
    margin-right: 25px;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.per-look-dl span {
    float: left;
    line-height: 22px;
    border-radius: 10px;
    font-size: 14px;
    margin: 8px 25px 8px 0;
}

.per-look-dl span em {
    float: left;
}

.border-bggray {
    border: 1px solid #999;
    padding: 0 15px;
}

.border-bgred {
    background-color: rgba(250, 103, 92, 0.1);
    border: 1px solid #FA675C;
    color: #FA675C;
    padding: 0 15px;
}

.border-bggreen {
    background-color: rgba(28, 147, 153, 0.1);
    border: 1px solid #1C9399;
    color: #1C9399;
    padding: 0 15px;
}

.look-em {
    border-radius: 50%;
    padding: 0;
    width: 14px;
    height: 14px;
    line-height: 14px;
    font-size: 12px;
    margin: 3px 0 0 10px;
}



.add-mess-mb div.add-mess-child {
    margin-bottom: 20px;
}

.add-mess-mb article {
    width: 900px;
}

.add-mess-mb article div.add-mess-child {
    float: left;
    margin-right: 30px;
}

.add-mess-mb .add-mess-child > div {
    float: left;
    line-height: 32px;
}

.add-mess-mb .add-mess-child > div.add-mess-form {
    margin-right: 30px;
}

.add-mess-mb .add-mess-child > div:nth-child(1) {
    width: 115px;
    text-align: right;
}

.add-mess-mb .add-mess-child > div:nth-child(2) {
    width: 270px;
}

.table-list-age span {
    display: inline-block;
    width: 90px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    border-radius: 10px;
    height: 20px;
    line-height: 20px;
}

.span-bgBlue {
    background-color: #31A4FF;
}

.span-bgGreen {
    background-color: #42C3AF;
}

.span-bgYellow {
    background-color: #FFA515;
}

.table-add-btn em {
    display: inline-block;
    margin-right: 10px;
}

.table-add-btn span {
    display: inline-block;
    text-align: center;
    padding: 0 15px;
    color: #fff;
    font-size: 14px;
    border-radius: 10px;
    height: 20px;
    line-height: 20px;
}

.table-add-btn .border-bgred {
    background-color: rgba(250, 103, 92, 0.1);
    border: 1px solid #FA675C;
    color: #FA675C;
    padding: 0 15px;
}

.table-add-btn .border-bggreen {
    background-color: rgba(28, 147, 153, 0.1);
    border: 1px solid #1C9399;
    color: #1C9399;
    padding: 0 15px;
}

.table-add-btn .border-bgblue {
    background-color: rgba(49, 164, 255, 0.1);
    border: 1px solid #31A4FF;
    color: #31A4FF;
    padding: 0 15px;
}


/* 用药管理-查看药物详情 */
.details-ul {
    width: 900px;
}

.details-ul li {
    float: left;
    width: 50%;
}


/* 用药管理-新增药物发放登记 */
.medicine-con li {
    overflow: hidden;
}

.medicine-con li div {
    float: left;
}

.medicine-con li div:nth-child(1) {
    width: 80px;
    text-align: right;
}

.medicine-con li > div:nth-child(2) {
    width: 360px;
}

.medicine-con div > input, .medicine-con div > select, .medicine-con div > textarea {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
    background-color: #fff;
    width: 300px;
}

.medicine-con select {
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.medicine-con li {
    margin-bottom: 25px;
}

.medicine-con li div p {
    overflow: hidden;
    margin-bottom: 25px;
}

.medicine-con li div p:last-child {
    margin-bottom: 0;
}

.medicine-con li div p span, .medicine-con li div p em {
    float: left;
}

.medicine-con li div p > span {
    width: 100px;
    padding: 7px 0;
}

.medicine-con li .layui-form-checkbox[lay-skin=primary] span {
    padding-right: 0;
}

.medicine-con li div em input {
    width: 200px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
    background-color: #fff;
}


/* 用药管理-药物发放 */
.new-add-title {
    font-size: 18px;
}

.new-add-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 25px;
    background-color: #1C9399;
    position: absolute;
    left: 0;
    top: 0;
}

.layui-tab-child .layui-form {
    text-align: center;
}

.layui-tab-child .layui-tab-title {
    display: inline-block;
    overflow: hidden;
    height: 38px;
    border-radius: 4px;
}

.layui-tab-child .layui-tab-title, .layui-tab-child .layui-tab-title .layui-this:after {
    border: 0;
}

.layui-tab-child .layui-tab-title li {
    float: left;
    width: 160px;
    padding: 0;
    border-radius: 4px 0 0 4px;
    margin-right: 0;
    height: 36px;
    line-height: 36px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.layui-tab-child .layui-tab-title li:nth-child(1) {
    border-radius: 4px 0 0 4px;
}

.layui-tab-child .layui-tab-title li:nth-child(2) {
    border-radius: 0 4px 4px 0;
}

.layui-tab-child .layui-tab-title .layui-this {
    color: #fff;
    background-color: #1C9399;
    border: 1px solid #1C9399;
}

.layui-tab-child .layui-tab-title .layui-this {
    color: #fff;
}

.layui-tab-child .layui-carousel {
    height: 180px;
}

.layui-tab-child .layui-carousel, .layui-tab-child .layui-carousel > [carousel-item] > * {
    background-color: #fff;
}

.layui-tab-child .layui-carousel > [carousel-item] {
    margin: 0 45px;
    width: 0;
    width: auto;
}

.layui-tab-child .layui-carousel-arrow {
    background-color: rgba(255, 255, 255, 1);
    color: #aaa;
    border-radius: 50%;
    border: 1px solid #aaa;
}

.layui-tab-child .layui-carousel-arrow:hover,
.layui-tab-child .layui-carousel-ind ul:hover {
    background-color: rgba(0, 0, 0, 0)
}

.layui-tab-child .layui-carousel[lay-arrow=always] .layui-carousel-arrow {
    left: 0;
}

.layui-tab-child .layui-carousel:hover .layui-carousel-arrow[lay-type=add], .layui-tab-child .layui-carousel[lay-arrow=always] .layui-carousel-arrow[lay-type=add] {
    right: 0;
}

.add-mess-flex {
    overflow: hidden;
}

.add-mess-flex input {
    width: 100%;
}

.add-mess-flex > div {
    float: left;
    width: 33.33%;
    margin-bottom: 20px;
    line-height: 32px;
}

.add-mess-flex .add-mess-child {
    position: relative;
}

.add-mess-flex .add-mess-child > div:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    width: 135px;
    text-align: right;
}

.add-mess-flex .add-mess-child > div:nth-child(2) {
    padding-left: 135px;
}

.add-mess-flex .add-mess-child:nth-child(3n+1) > div:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    text-align: right;
}

.add-mess-flex .add-mess-child:nth-child(3n+1) > div:nth-child(2) {
    padding-left: 90px;
    margin-right: 40px;
}

.add-mess-flex .add-mess-child > div.add-mess-form > p {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
}

.add-mess-flex .layui-btn {
    background: #1C9399;
    border-radius: 3px;
}

.add-mess-flex .layui-btn + .layui-btn {
    margin-left: 25px;
}

.add-mess-flex .layui-btn {
    width: 65px;
    height: 32px;
    line-height: 32px;
    color: #fff;
}

.add-mess-flex .layui-btn-primary {
    border: 1px solid #ddd;
    background-color: #fff;
    color: #666;
}

.dosage-con {
    display: flex;
}

.dosage-con li {
    flex: 1;
    padding: 0 30px;
    border-right: 1px solid #eee;
}

.dosage-con li:last-child {
    border-right: 0;
}

.dosage-con .per-look-dl {
    width: 0;
    width: auto;
}

.dosage-con .per-look-dl span {
    margin: 4px 0;
}